package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @program: qy160-demo
 * @description:
 * @author: 闫克起2
 * @create: 2023-03-07 14:56
 **/
@TableName(value = "dept")
@Data
public class Dept {
    @TableId(value = "deptNo",type = IdType.AUTO)
    private Integer deptno;
    private String dname;
    private String loc;
}
